/**   
 * Copyright © 2016 北京之洲科技有限责任公司. All rights reserved.
 * 
 * @Title: Crawl.java 
 * @Prject: carfactory
 * @Package: com.zizo.core 
 * @Description: TODO
 * @author: Alexis  
 * @email heyan0227@outlook.com
 * @date: 2016年7月22日 下午5:05:45 
 * @version: V1.0   
 */
package com.panny.newcar.core;

import java.util.List;

/**
 * @ClassName: Crawl
 * @Description: TODO
 * @author: Alexis
 * @date: 2016年7月22日 下午5:05:45
 */
public abstract class Crawl implements CrawlInterface, Runnable {
	protected String lx;
	protected DAO dao;
	protected List<Errors> error;// 记录错误的集合
	protected String nf;public Crawl(String lx, DAO dao, List<Errors> error) {
		super();
		this.lx = lx;
		this.dao = dao;
		this.error = error;
	}

	public Crawl(String lx, DAO dao) {
		super();
		this.lx = lx;
		this.dao = dao;
	}
  public Crawl(String lx,String nf,DAO dao){
	  super();
		this.lx = lx;
		this.nf=nf;
		this.dao = dao;
  }
	

	public DAO getDao() {
		return dao;
	}

	public void setDao(DAO dao) {
		this.dao = dao;
	}

	public String getId() {
		return lx;
	}

	public void setId(String id) {
		this.lx = id;
	}

	public List<Errors> getError() {
		return error;
	}

	public String getLx() {
		return lx;
	}

	public void setLx(String lx) {
		this.lx = lx;
	}

	public String getNf() {
		return nf;
	}

	public void setNf(String nf) {
		this.nf = nf;
	}

	public void setError(List<Errors> error) {
		this.error = error;
	}


	

}
